package com.cskaoyan.service.wx;

import com.cskaoyan.bean.vo.BrandBean;
import com.cskaoyan.bean.vo.CategoryBean;
import com.cskaoyan.bean.vo.GoodsListBean;
import com.cskaoyan.bean.vo.goodsDetailNean.GoodsDetailBean;
import com.cskaoyan.bean.vo.homeIndex.NewGoods;

import java.util.List;

/**
 * @author 杨杰
 * @version V1.0
 * @Package com.cskaoyan.service.wx
 * @date 2020/12/9 9:15
 * @Copyright © 暂时还没有
 * @description
 */
public interface WxGoodsSrvice {

    Integer queryAllCount();
    CategoryBean getCategory(Integer id);
    GoodsListBean getListByCategoryId(Integer categoryId, Integer page, Integer size);
    GoodsListBean getListByBrandId(Integer brandId, Integer page, Integer size);
    GoodsDetailBean getDetail(Integer id);

    List<NewGoods> getRelated(Integer id);

    GoodsListBean getListByKeyword(String keyword, String sort, String order);
}
